package com.taxi.comm.business.service;

import java.lang.reflect.Method;

import org.apache.commons.beanutils.BeanUtils;
import org.aspectj.lang.ProceedingJoinPoint;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.taxi.comm.message.Request;

/**
 * Intercept the pNNService.handleContentRequest method. do:
 * 	1.	check the common request is full filled or not
 *  2.	check the PSAM is registered or not
 *  3.	check the request content is
 *  4.	if the request contains UID (user ID), check the user availability
 * 
 * before actually call the method.
 * 
 * @author Watertao
 *
 */
@Component("serviceRoundAdvice")
public class ServiceRoundAdvice {

	private static final Logger log = LoggerFactory.getLogger(ServiceRoundAdvice.class);
	
	
	
	public Object doAdvice(ProceedingJoinPoint pjp) throws Throwable {
		
		
		
		
			
			
			return pjp.proceed();
		
	}
	
}